<%@ include file="/common/taglibs.jsp"%>

	
			<div id="content"><div class="inner_copy">More <a href="http://www.templatemonster.com/">Website Templates</a> at TemplateMonster.com!</div>
				<div id="slogan">
					<div class="image png"></div>
					<div class="inside">
						<h2>Reserva tu <span>Entrada</span></h2>
						<p></p>
						<div class="wrapper"><a href="loginWeb" class="link1"><span><span>Reservar</span></span></a></div>
					</div>
				</div>
				<div class="box">
					<div class="border-right">
						<div class="border-left">
							<div class="inner"> 
								<h3>Programacion en <b> Nuestros</b> <span>Cines</span></h3>
								
								<form:form action="/cineplanet/" method="post">
										<p>Cine : 																		
										<SELECT NAME="selCombo" id="selCombo" SIZE=1 >
										    <option selected="true" value="0">Buscar Cine</option>
											<c:forEach items="${data}" var="cine">
												<OPTION VALUE=<c:out value="${cine.codigoCine}"/> > <c:out value="${cine.nombreCine}"/> </OPTION>																					 
											</c:forEach>
										
										</SELECT> 
										<input type="submit" name="boton" value="Aceptar"  />
										</p>
								</form:form>
								
								
								
								<table border=1>
									<tr>
										<td>FECHA</td>
										<td>PELICULA</td>
										<td>SALA</td>
										<td>HORARIO</td>
										<td>TIPO FUNCION</td>
										<td>N# ASIENTOS</td>
										<td>N# OCUPADOS</td>
									</tr>
																										
								<c:forEach items="${data1}" var="funcion">
									<tr>
										<td><c:out value="${funcion.FE_FUNCION}"/></td>
										<td><c:out value="${funcion.CO_PELICULA}"/></td>
										<td><c:out value="${funcion.CO_SALA}"/></td>
										<td><c:out value="${funcion.HR_HORARIO}"/></td>
										<td><c:out value="${funcion.CO_TIPOFUNCION}"/></td>
										<td><c:out value="${funcion.NU_ASIENTOS}"/></td>
										<td> <c:out value="${funcion.NU_OCUPADOS}"/></td>																		
									<tr>					  									
								</c:forEach>
								</table>
							</div>
							
							
							
						</div>
					</div>
				</div>
			</div>